<%-include header %>
<div class="row">
		<div class="span8">
			<form class="form-horizontal" action="/login" method="post">
				<div class="control-group">
					 <label class="control-label" for="inputName">User</label>
					<div class="controls">
						<input id="inputName" type="text" name="name"/>
					</div>
				</div>
				<div class="control-group">
					 <label class="control-label" for="inputPassword">Pass</label>
					<div class="controls">
						<input id="inputPassword" type="password" name="password" />
					</div>
				</div>
				<div class="control-group">
					<div class="controls">
						 <label class="checkbox"><input type="checkbox" /> Remember me</label> <button type="submit" class="btn">Login</button>
					</div>
				</div>
			</form>
		</div>
		<div class="span4">
			<% if (success) { %>
				<div class="alert alert-success">
				 <button type="button" class="close" data-dismiss="alert">×</button>
				<h4>
				</h4> <strong>Success!</strong> <%= success %>
			</div>
			<% } %>
			<% if (error) { %>
				<div class="alert alert-error">
				 <button type="button" class="close" data-dismiss="alert">×</button>
				<h4>
				</h4> <strong>Error!</strong> <%= error %>
			</div>
			<% } %>
		</div>
	</div>
<%-include footer %>